package com.item.service;

import com.item.dao.VersionCheckMapper;
import com.item.dao.model.VersionCheck;
import com.item.dao.model.VersionCheckExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VersionCheckService {
    @Autowired
    private VersionCheckMapper versionCheckMapper;

    private static final Logger logger = Logger.getLogger(VersionCheckService.class);

    public int countByExample(VersionCheckExample example) {
        return this.versionCheckMapper.countByExample(example);
    }

    public VersionCheck selectByPrimaryKey(String id) {
        return this.versionCheckMapper.selectByPrimaryKey(id);
    }

    public List<VersionCheck> selectByExample(VersionCheckExample example) {
        return this.versionCheckMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.versionCheckMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(VersionCheck record) {
        return this.versionCheckMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(VersionCheck record) {
        return this.versionCheckMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(VersionCheckExample example) {
        return this.versionCheckMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(VersionCheck record, VersionCheckExample example) {
        return this.versionCheckMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(VersionCheck record, VersionCheckExample example) {
        return this.versionCheckMapper.updateByExample(record, example);
    }

    public int insert(VersionCheck record) {
        return this.versionCheckMapper.insert(record);
    }

    public int insertSelective(VersionCheck record) {
        return this.versionCheckMapper.insertSelective(record);
    }
}